package com.codelife.shejimoshi.dailimoshi.jingtaidaili;

/**
 * @ClassName Demo02
 * @Description TODO
 * @Date 2019/11/5 10:07
 * @Version 1.0
 **/
public class Demo02 implements Jiekou{

    private Demo1 demo;

    public Demo02(Demo1 demo1){
        demo=demo1;
    }

    @Override
    public void printi() {
        demo.printi();
        System.out.println("我是代理类");
    }
}
